package cn.com.cifi.mars.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.baomidou.dynamic.datasource.annotation.DS;
import cn.com.cifi.mars.entity.CooperaTionCurVersion;
import cn.com.cifi.mars.entity.MdmBuildArea;
import cn.com.cifi.mars.entity.MdmGroupBld;
import cn.com.cifi.mars.entity.MdmProject;
import cn.com.cifi.mars.entity.MdmProjectPatner;
import cn.com.cifi.mars.entity.MdmStage;
import cn.com.cifi.mars.entity.MymContract;
import cn.com.cifi.mars.entity.MymRooms;
import cn.com.cifi.mars.mapper.mars.MdmMapper;
import cn.com.cifi.mars.service.MdmService;

@Service
public class MdmServiceImpl implements MdmService {

    @Autowired
    MdmMapper mdmMapper;
    
    @DS("mdm")
    @Override
    public List<MdmProjectPatner> selectProjectPatnerList() {
        List<MdmProjectPatner> gxcXmhzfDtoList = mdmMapper.selectProjectPatnerList();
        return gxcXmhzfDtoList;
    }

    @DS("mdm")
    @Override
    public List<MdmBuildArea> selectGxcLdytList() {
        return mdmMapper.selectGxcLdytList();
    }

    @DS("mdm")
	@Override
	public List<MdmProject> queryProjectList() {
    	return mdmMapper.selectProjectList();
	}

    @DS("mdm")
	@Override
	public List<MdmStage> queryMdmStageList() {
    	return mdmMapper.selectMdmStageList();
	}
    
    @DS("mdm")
	@Override
	public List<MdmGroupBld> queryMdmGroupBldList() {
    	return mdmMapper.selectMdmGroupBldList();
	}


    /**
	 * 查询分期合作方视图
	 * @return
	 */
    @DS("mdm")
    @Override
    public List<CooperaTionCurVersion> queryCooperaTionCurVersionList() {
    	return mdmMapper.selectCooperaTionCurVersionList();
    }
    
    

   
}
